package com.sanpu.kxe.business.repay.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.repay.bean.RepayCreditOutput;
import com.sanpu.kxe.business.repay.interfaces.IRepayCreditListener;
import com.sanpu.kxe.business.trade.bean.PayCollectionOutput;

/**
 * Description：代还首页
 * Created by 薛勇军 on 2019/4/10.
 */

public interface RepayCreditContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示数据
         */
        void showDataView(RepayCreditOutput creditOutput);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 初始化
         */
        void initViewData(PayCollectionOutput collectionOutput);

        /**
         * 监听事件
         */
        IRepayCreditListener getRepayCreditListener();

        /**
         * 代还首页接口
         */
        void index();

        /**
         * 添加信用卡
         */
        void addCreditCard();

        /**
         * 打开可支持银行
         */
        void openRepaySupportActivity();
    }
}
